package com.example.express.dto;

import java.util.List;

public class ExpressInfoDTO {
    private String company; // 快递公司
    private String number;  // 快递单号
    private List<LogisticsStatus> statusList; // 物流状态列表

    // 构造函数、Getter 和 Setter
    public ExpressInfoDTO() {}

    public ExpressInfoDTO(String company, String number, List<LogisticsStatus> statusList) {
        this.company = company;
        this.number = number;
        this.statusList = statusList;
    }

    public String getCompany() {
        return company;
    }

    public void setCompany(String company) {
        this.company = company;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public List<LogisticsStatus> getStatusList() {
        return statusList;
    }

    public void setStatusList(List<LogisticsStatus> statusList) {
        this.statusList = statusList;
    }
}